Skip to content

Initial model for v2 - #349

Merged
alejandromarcu merged 3 commits into
mainfrom
initial_model
Mar 4, 2026
Merged

Initial model for v2#349
alejandromarcu merged 3 commits into
mainfrom
initial_model

Conversation

@alejandromarcu

Copy link
Copy Markdown
Collaborator

This allows to start the training from a model stored in either wandb or a local file.
E.g.:

training:
  initial_model:
    wandb_project: B5W3
    wandb_alias: v160

@adamantivm

Copy link
Copy Markdown
Collaborator

One question: does this also pull the model from wandb and store it as onnx so that self-play can work with rust?

@alejandromarcu

Copy link
Copy Markdown
Collaborator Author

One question: does this also pull the model from wandb and store it as onnx so that self-play can work with rust?

Yes. The model is stored in wandb just as a pt, but when you specify the initial model, we create the AlphaZero agent with that model, and then we save it as model_0.pt and model_0.onnx if save_onnx=True.

@jonbinney jonbinney left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alejandromarcu
alejandromarcu merged commit b9dcc32 into main Mar 4, 2026
2 checks passed
@alejandromarcu
alejandromarcu deleted the initial_model branch March 4, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants